<?
$areaActual = $manager->readObj($pers->getValue('area_nome'), 'areas');
$centroCoords = $areaActual->getCoords('area_coords');
$mapa->toHtml($centroCoords, $html, $manager);

$html->set('div_pers_stats', $html->mixArray($pers->toArray(), 'div_pers_stats'));
$html->set('div_pers_equip', $html->mixArray($pers->toArray(), 'div_pers_equip'));
$html->set('div_pers_inv', $html->mixArray($pers->toArray(), 'div_pers_inv'));

$html->set('area_lista_actores', $areaActual->listaActoresHtml($html, $pers, $manager));
$html->set('area_lista_objs', $areaActual->listaObjsHtml($html));

$html->set('list_equip_obj_html', $pers->objsEquipListHtmlLink($html));
$html->set('list_inv_obj_html', $pers->objsInvListHtmlLink($html));

$html->set('game', $html->mixArray ($areaActual->toArray(), 'game'));
$html->set('div_mapa', $html->mixArray ($mapa->toArray(), 'div_mapa'));

$html->set('default_content', 'game');

// SET THE GET VAR TO THE DEFAULT CONTENT
if ($_GET['content'] == '' ) $_GET['content'] = $html->get('default_content');

$html->set('content', $html->get($_GET['content']));
?>